public class DEV521_S56Controller {
  
  public Account account;
  
  public Account getAccount(){
    if(account == null) account = new Account();
    return account;
  }
  
  public PageReference save() {
    insert account;
    PageReference acctPage = new PageReference('/' + account.id);
    acctPage.setRedirect(true);
    return acctPage;
  }

}